﻿using System;
using System.Collections.Generic;
using System.Text;
using Lswweb.Model;

namespace Lswweb.IDAL
{
    public interface IGuestBook
    {
        GuestbookInfo GetGuestBook(int id);

        IList<GuestbookInfo> GetGuestBooks(bool? isRead,GuestBookItem? itemType,int pageSize,int pageIndex,out int totalRecord);

        int Insert(GuestbookInfo guestBook);

        bool Delete(int id);

        bool UpdateIsRead(int id);
    }
}
